﻿#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include "rep_MyRPC_replica.h"

class Widget : public QWidget
{
    Q_OBJECT

public slots:
    void onMessageFromServer(const QString &msg);

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

    MyRPCReplica *m_rpc = nullptr;
    QRemoteObjectNode *m_node = nullptr;
};
#endif // WIDGET_H
